//
//  UITableView+SimultaneouslyGesture.m
//  Tools
//
//  Created by han on 2019/1/16.
//  Copyright © 2019 han. All rights reserved.
//

#import "UITableView+SimultaneouslyGesture.h"

@implementation UITableView (SimultaneouslyGesture)


- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {
    return YES;
}

@end
@implementation UIScrollView (SimultaneouslyGesture)

- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {
    return YES;
}

@end
